<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<style type="text/css">
html,body {
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: hidden;
}
iframe {
    margin: 0;
    border-style: none;
    width: 100%;
    height: 100%;
}
</style>
<script th:src="@{/js/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/Bootstrapfileinput/js/jquery.media.js}"></script>
<script th:inline="javascript"> var ctx = [[@{/}]]; </script>
<body>
<iframe id="showFile" width='100%' height='100%' frameborder='0'></iframe>
</body>

<script type="text/javascript">
	$(function () {
		var url = 'https://view.officeapps.live.com/op/view.aspx?src=[[${info.ossUrl}]]';
		$("#showFile").attr("src",url)
	});
</script>
</html>
